package cn.zs.groupmarket.domain.tag.adapter.repository;

import cn.zs.groupmarket.domain.tag.model.entity.CrowdTagsJobEntity;

/**
 * @Description: 人群标签仓储接口
 * @Auther: zs
 * @Date: 2025/01/08/20:34
 */
public interface ITagRepository {

    CrowdTagsJobEntity queryCrowdTagsJobEntity(String tagId, String batchId);

    void addCrowdTagsUserId(String tagId, String userId);

    void updateCrowdTagsStatistics(String tagId, int count);

    boolean isTagCrowdRange(String tagId, String userId);

    boolean downgradeSwitch();

    boolean cutRange(String userId);
}
